<?php


abstract class BaseEstudiante extends BaseObject  implements Persistent {


	
	protected static $peer;


	
	protected $cp_estudiante;


	
	protected $cf_estrato_social;


	
	protected $cedula;


	
	protected $nombre;


	
	protected $apellido;


	
	protected $sexo;


	
	protected $estado_civil;


	
	protected $fecha_nacimiento;


	
	protected $nacionalidad;


	
	protected $telefono_habitacion;


	
	protected $telefono_celular;


	
	protected $transporte;


	
	protected $cf_carrera;


	
	protected $residenciado;


	
	protected $perfil;


	
	protected $informe;


	
	protected $wagon;


	
	protected $parte;


	
	protected $modulo;


	
	protected $edad;


	
	protected $estatus;

	
	protected $alreadyInSave = false;

	
	protected $alreadyInValidation = false;

	
	public function getCpEstudiante()
	{

		return $this->cp_estudiante;
	}

	
	public function getCfEstratoSocial()
	{

		return $this->cf_estrato_social;
	}

	
	public function getCedula()
	{

		return $this->cedula;
	}

	
	public function getNombre()
	{

		return $this->nombre;
	}

	
	public function getApellido()
	{

		return $this->apellido;
	}

	
	public function getSexo()
	{

		return $this->sexo;
	}

	
	public function getEstadoCivil()
	{

		return $this->estado_civil;
	}

	
	public function getFechaNacimiento($format = 'Y-m-d')
	{

		if ($this->fecha_nacimiento === null || $this->fecha_nacimiento === '') {
			return null;
		} elseif (!is_int($this->fecha_nacimiento)) {
						$ts = strtotime($this->fecha_nacimiento);
			if ($ts === -1 || $ts === false) { 				throw new PropelException("Unable to parse value of [fecha_nacimiento] as date/time value: " . var_export($this->fecha_nacimiento, true));
			}
		} else {
			$ts = $this->fecha_nacimiento;
		}
		if ($format === null) {
			return $ts;
		} elseif (strpos($format, '%') !== false) {
			return strftime($format, $ts);
		} else {
			return date($format, $ts);
		}
	}

	
	public function getNacionalidad()
	{

		return $this->nacionalidad;
	}

	
	public function getTelefonoHabitacion()
	{

		return $this->telefono_habitacion;
	}

	
	public function getTelefonoCelular()
	{

		return $this->telefono_celular;
	}

	
	public function getTransporte()
	{

		return $this->transporte;
	}

	
	public function getCfCarrera()
	{

		return $this->cf_carrera;
	}

	
	public function getResidenciado()
	{

		return $this->residenciado;
	}

	
	public function getPerfil()
	{

		return $this->perfil;
	}

	
	public function getInforme()
	{

		return $this->informe;
	}

	
	public function getWagon()
	{

		return $this->wagon;
	}

	
	public function getParte()
	{

		return $this->parte;
	}

	
	public function getModulo()
	{

		return $this->modulo;
	}

	
	public function getEdad()
	{

		return $this->edad;
	}

	
	public function getEstatus()
	{

		return $this->estatus;
	}

	
	public function setCpEstudiante($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->cp_estudiante !== $v) {
			$this->cp_estudiante = $v;
			$this->modifiedColumns[] = EstudiantePeer::CP_ESTUDIANTE;
		}

	} 
	
	public function setCfEstratoSocial($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->cf_estrato_social !== $v) {
			$this->cf_estrato_social = $v;
			$this->modifiedColumns[] = EstudiantePeer::CF_ESTRATO_SOCIAL;
		}

	} 
	
	public function setCedula($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->cedula !== $v) {
			$this->cedula = $v;
			$this->modifiedColumns[] = EstudiantePeer::CEDULA;
		}

	} 
	
	public function setNombre($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->nombre !== $v) {
			$this->nombre = $v;
			$this->modifiedColumns[] = EstudiantePeer::NOMBRE;
		}

	} 
	
	public function setApellido($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->apellido !== $v) {
			$this->apellido = $v;
			$this->modifiedColumns[] = EstudiantePeer::APELLIDO;
		}

	} 
	
	public function setSexo($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->sexo !== $v) {
			$this->sexo = $v;
			$this->modifiedColumns[] = EstudiantePeer::SEXO;
		}

	} 
	
	public function setEstadoCivil($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->estado_civil !== $v) {
			$this->estado_civil = $v;
			$this->modifiedColumns[] = EstudiantePeer::ESTADO_CIVIL;
		}

	} 
	
	public function setFechaNacimiento($v)
	{

		if ($v !== null && !is_int($v)) {
			$ts = strtotime($v);
			if ($ts === -1 || $ts === false) { 				throw new PropelException("Unable to parse date/time value for [fecha_nacimiento] from input: " . var_export($v, true));
			}
		} else {
			$ts = $v;
		}
		if ($this->fecha_nacimiento !== $ts) {
			$this->fecha_nacimiento = $ts;
			$this->modifiedColumns[] = EstudiantePeer::FECHA_NACIMIENTO;
		}

	} 
	
	public function setNacionalidad($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->nacionalidad !== $v) {
			$this->nacionalidad = $v;
			$this->modifiedColumns[] = EstudiantePeer::NACIONALIDAD;
		}

	} 
	
	public function setTelefonoHabitacion($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->telefono_habitacion !== $v) {
			$this->telefono_habitacion = $v;
			$this->modifiedColumns[] = EstudiantePeer::TELEFONO_HABITACION;
		}

	} 
	
	public function setTelefonoCelular($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->telefono_celular !== $v) {
			$this->telefono_celular = $v;
			$this->modifiedColumns[] = EstudiantePeer::TELEFONO_CELULAR;
		}

	} 
	
	public function setTransporte($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->transporte !== $v) {
			$this->transporte = $v;
			$this->modifiedColumns[] = EstudiantePeer::TRANSPORTE;
		}

	} 
	
	public function setCfCarrera($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->cf_carrera !== $v) {
			$this->cf_carrera = $v;
			$this->modifiedColumns[] = EstudiantePeer::CF_CARRERA;
		}

	} 
	
	public function setResidenciado($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->residenciado !== $v) {
			$this->residenciado = $v;
			$this->modifiedColumns[] = EstudiantePeer::RESIDENCIADO;
		}

	} 
	
	public function setPerfil($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->perfil !== $v) {
			$this->perfil = $v;
			$this->modifiedColumns[] = EstudiantePeer::PERFIL;
		}

	} 
	
	public function setInforme($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->informe !== $v) {
			$this->informe = $v;
			$this->modifiedColumns[] = EstudiantePeer::INFORME;
		}

	} 
	
	public function setWagon($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->wagon !== $v) {
			$this->wagon = $v;
			$this->modifiedColumns[] = EstudiantePeer::WAGON;
		}

	} 
	
	public function setParte($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->parte !== $v) {
			$this->parte = $v;
			$this->modifiedColumns[] = EstudiantePeer::PARTE;
		}

	} 
	
	public function setModulo($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->modulo !== $v) {
			$this->modulo = $v;
			$this->modifiedColumns[] = EstudiantePeer::MODULO;
		}

	} 
	
	public function setEdad($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->edad !== $v) {
			$this->edad = $v;
			$this->modifiedColumns[] = EstudiantePeer::EDAD;
		}

	} 
	
	public function setEstatus($v)
	{

						if ($v !== null && !is_string($v)) {
			$v = (string) $v; 
		}

		if ($this->estatus !== $v) {
			$this->estatus = $v;
			$this->modifiedColumns[] = EstudiantePeer::ESTATUS;
		}

	} 
	
	public function hydrate(ResultSet $rs, $startcol = 1)
	{
		try {

			$this->cp_estudiante = $rs->getString($startcol + 0);

			$this->cf_estrato_social = $rs->getString($startcol + 1);

			$this->cedula = $rs->getString($startcol + 2);

			$this->nombre = $rs->getString($startcol + 3);

			$this->apellido = $rs->getString($startcol + 4);

			$this->sexo = $rs->getString($startcol + 5);

			$this->estado_civil = $rs->getString($startcol + 6);

			$this->fecha_nacimiento = $rs->getDate($startcol + 7, null);

			$this->nacionalidad = $rs->getString($startcol + 8);

			$this->telefono_habitacion = $rs->getString($startcol + 9);

			$this->telefono_celular = $rs->getString($startcol + 10);

			$this->transporte = $rs->getString($startcol + 11);

			$this->cf_carrera = $rs->getString($startcol + 12);

			$this->residenciado = $rs->getString($startcol + 13);

			$this->perfil = $rs->getString($startcol + 14);

			$this->informe = $rs->getString($startcol + 15);

			$this->wagon = $rs->getString($startcol + 16);

			$this->parte = $rs->getString($startcol + 17);

			$this->modulo = $rs->getString($startcol + 18);

			$this->edad = $rs->getString($startcol + 19);

			$this->estatus = $rs->getString($startcol + 20);

			$this->resetModified();

			$this->setNew(false);

						return $startcol + 21; 
		} catch (Exception $e) {
			throw new PropelException("Error populating Estudiante object", $e);
		}
	}

	
	public function delete($con = null)
	{
		if ($this->isDeleted()) {
			throw new PropelException("This object has already been deleted.");
		}

		if ($con === null) {
			$con = Propel::getConnection(EstudiantePeer::DATABASE_NAME);
		}

		try {
			$con->begin();
			EstudiantePeer::doDelete($this, $con);
			$this->setDeleted(true);
			$con->commit();
		} catch (PropelException $e) {
			$con->rollback();
			throw $e;
		}
	}

	
	public function save($con = null)
	{
		if ($this->isDeleted()) {
			throw new PropelException("You cannot save an object that has been deleted.");
		}

		if ($con === null) {
			$con = Propel::getConnection(EstudiantePeer::DATABASE_NAME);
		}

		try {
			$con->begin();
			$affectedRows = $this->doSave($con);
			$con->commit();
			return $affectedRows;
		} catch (PropelException $e) {
			$con->rollback();
			throw $e;
		}
	}

	
	protected function doSave($con)
	{
		$affectedRows = 0; 		if (!$this->alreadyInSave) {
			$this->alreadyInSave = true;


						if ($this->isModified()) {
				if ($this->isNew()) {
					$pk = EstudiantePeer::doInsert($this, $con);
					$affectedRows += 1; 										 										 
					$this->setCpEstudiante($pk);  
					$this->setNew(false);
				} else {
					$affectedRows += EstudiantePeer::doUpdate($this, $con);
				}
				$this->resetModified(); 			}

			$this->alreadyInSave = false;
		}
		return $affectedRows;
	} 
	
	protected $validationFailures = array();

	
	public function getValidationFailures()
	{
		return $this->validationFailures;
	}

	
	public function validate($columns = null)
	{
		$res = $this->doValidate($columns);
		if ($res === true) {
			$this->validationFailures = array();
			return true;
		} else {
			$this->validationFailures = $res;
			return false;
		}
	}

	
	protected function doValidate($columns = null)
	{
		if (!$this->alreadyInValidation) {
			$this->alreadyInValidation = true;
			$retval = null;

			$failureMap = array();


			if (($retval = EstudiantePeer::doValidate($this, $columns)) !== true) {
				$failureMap = array_merge($failureMap, $retval);
			}



			$this->alreadyInValidation = false;
		}

		return (!empty($failureMap) ? $failureMap : true);
	}

	
	public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
	{
		$pos = EstudiantePeer::translateFieldName($name, $type, BasePeer::TYPE_NUM);
		return $this->getByPosition($pos);
	}

	
	public function getByPosition($pos)
	{
		switch($pos) {
			case 0:
				return $this->getCpEstudiante();
				break;
			case 1:
				return $this->getCfEstratoSocial();
				break;
			case 2:
				return $this->getCedula();
				break;
			case 3:
				return $this->getNombre();
				break;
			case 4:
				return $this->getApellido();
				break;
			case 5:
				return $this->getSexo();
				break;
			case 6:
				return $this->getEstadoCivil();
				break;
			case 7:
				return $this->getFechaNacimiento();
				break;
			case 8:
				return $this->getNacionalidad();
				break;
			case 9:
				return $this->getTelefonoHabitacion();
				break;
			case 10:
				return $this->getTelefonoCelular();
				break;
			case 11:
				return $this->getTransporte();
				break;
			case 12:
				return $this->getCfCarrera();
				break;
			case 13:
				return $this->getResidenciado();
				break;
			case 14:
				return $this->getPerfil();
				break;
			case 15:
				return $this->getInforme();
				break;
			case 16:
				return $this->getWagon();
				break;
			case 17:
				return $this->getParte();
				break;
			case 18:
				return $this->getModulo();
				break;
			case 19:
				return $this->getEdad();
				break;
			case 20:
				return $this->getEstatus();
				break;
			default:
				return null;
				break;
		} 	}

	
	public function toArray($keyType = BasePeer::TYPE_PHPNAME)
	{
		$keys = EstudiantePeer::getFieldNames($keyType);
		$result = array(
			$keys[0] => $this->getCpEstudiante(),
			$keys[1] => $this->getCfEstratoSocial(),
			$keys[2] => $this->getCedula(),
			$keys[3] => $this->getNombre(),
			$keys[4] => $this->getApellido(),
			$keys[5] => $this->getSexo(),
			$keys[6] => $this->getEstadoCivil(),
			$keys[7] => $this->getFechaNacimiento(),
			$keys[8] => $this->getNacionalidad(),
			$keys[9] => $this->getTelefonoHabitacion(),
			$keys[10] => $this->getTelefonoCelular(),
			$keys[11] => $this->getTransporte(),
			$keys[12] => $this->getCfCarrera(),
			$keys[13] => $this->getResidenciado(),
			$keys[14] => $this->getPerfil(),
			$keys[15] => $this->getInforme(),
			$keys[16] => $this->getWagon(),
			$keys[17] => $this->getParte(),
			$keys[18] => $this->getModulo(),
			$keys[19] => $this->getEdad(),
			$keys[20] => $this->getEstatus(),
		);
		return $result;
	}

	
	public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
	{
		$pos = EstudiantePeer::translateFieldName($name, $type, BasePeer::TYPE_NUM);
		return $this->setByPosition($pos, $value);
	}

	
	public function setByPosition($pos, $value)
	{
		switch($pos) {
			case 0:
				$this->setCpEstudiante($value);
				break;
			case 1:
				$this->setCfEstratoSocial($value);
				break;
			case 2:
				$this->setCedula($value);
				break;
			case 3:
				$this->setNombre($value);
				break;
			case 4:
				$this->setApellido($value);
				break;
			case 5:
				$this->setSexo($value);
				break;
			case 6:
				$this->setEstadoCivil($value);
				break;
			case 7:
				$this->setFechaNacimiento($value);
				break;
			case 8:
				$this->setNacionalidad($value);
				break;
			case 9:
				$this->setTelefonoHabitacion($value);
				break;
			case 10:
				$this->setTelefonoCelular($value);
				break;
			case 11:
				$this->setTransporte($value);
				break;
			case 12:
				$this->setCfCarrera($value);
				break;
			case 13:
				$this->setResidenciado($value);
				break;
			case 14:
				$this->setPerfil($value);
				break;
			case 15:
				$this->setInforme($value);
				break;
			case 16:
				$this->setWagon($value);
				break;
			case 17:
				$this->setParte($value);
				break;
			case 18:
				$this->setModulo($value);
				break;
			case 19:
				$this->setEdad($value);
				break;
			case 20:
				$this->setEstatus($value);
				break;
		} 	}

	
	public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
	{
		$keys = EstudiantePeer::getFieldNames($keyType);

		if (array_key_exists($keys[0], $arr)) $this->setCpEstudiante($arr[$keys[0]]);
		if (array_key_exists($keys[1], $arr)) $this->setCfEstratoSocial($arr[$keys[1]]);
		if (array_key_exists($keys[2], $arr)) $this->setCedula($arr[$keys[2]]);
		if (array_key_exists($keys[3], $arr)) $this->setNombre($arr[$keys[3]]);
		if (array_key_exists($keys[4], $arr)) $this->setApellido($arr[$keys[4]]);
		if (array_key_exists($keys[5], $arr)) $this->setSexo($arr[$keys[5]]);
		if (array_key_exists($keys[6], $arr)) $this->setEstadoCivil($arr[$keys[6]]);
		if (array_key_exists($keys[7], $arr)) $this->setFechaNacimiento($arr[$keys[7]]);
		if (array_key_exists($keys[8], $arr)) $this->setNacionalidad($arr[$keys[8]]);
		if (array_key_exists($keys[9], $arr)) $this->setTelefonoHabitacion($arr[$keys[9]]);
		if (array_key_exists($keys[10], $arr)) $this->setTelefonoCelular($arr[$keys[10]]);
		if (array_key_exists($keys[11], $arr)) $this->setTransporte($arr[$keys[11]]);
		if (array_key_exists($keys[12], $arr)) $this->setCfCarrera($arr[$keys[12]]);
		if (array_key_exists($keys[13], $arr)) $this->setResidenciado($arr[$keys[13]]);
		if (array_key_exists($keys[14], $arr)) $this->setPerfil($arr[$keys[14]]);
		if (array_key_exists($keys[15], $arr)) $this->setInforme($arr[$keys[15]]);
		if (array_key_exists($keys[16], $arr)) $this->setWagon($arr[$keys[16]]);
		if (array_key_exists($keys[17], $arr)) $this->setParte($arr[$keys[17]]);
		if (array_key_exists($keys[18], $arr)) $this->setModulo($arr[$keys[18]]);
		if (array_key_exists($keys[19], $arr)) $this->setEdad($arr[$keys[19]]);
		if (array_key_exists($keys[20], $arr)) $this->setEstatus($arr[$keys[20]]);
	}

	
	public function buildCriteria()
	{
		$criteria = new Criteria(EstudiantePeer::DATABASE_NAME);

		if ($this->isColumnModified(EstudiantePeer::CP_ESTUDIANTE)) $criteria->add(EstudiantePeer::CP_ESTUDIANTE, $this->cp_estudiante);
		if ($this->isColumnModified(EstudiantePeer::CF_ESTRATO_SOCIAL)) $criteria->add(EstudiantePeer::CF_ESTRATO_SOCIAL, $this->cf_estrato_social);
		if ($this->isColumnModified(EstudiantePeer::CEDULA)) $criteria->add(EstudiantePeer::CEDULA, $this->cedula);
		if ($this->isColumnModified(EstudiantePeer::NOMBRE)) $criteria->add(EstudiantePeer::NOMBRE, $this->nombre);
		if ($this->isColumnModified(EstudiantePeer::APELLIDO)) $criteria->add(EstudiantePeer::APELLIDO, $this->apellido);
		if ($this->isColumnModified(EstudiantePeer::SEXO)) $criteria->add(EstudiantePeer::SEXO, $this->sexo);
		if ($this->isColumnModified(EstudiantePeer::ESTADO_CIVIL)) $criteria->add(EstudiantePeer::ESTADO_CIVIL, $this->estado_civil);
		if ($this->isColumnModified(EstudiantePeer::FECHA_NACIMIENTO)) $criteria->add(EstudiantePeer::FECHA_NACIMIENTO, $this->fecha_nacimiento);
		if ($this->isColumnModified(EstudiantePeer::NACIONALIDAD)) $criteria->add(EstudiantePeer::NACIONALIDAD, $this->nacionalidad);
		if ($this->isColumnModified(EstudiantePeer::TELEFONO_HABITACION)) $criteria->add(EstudiantePeer::TELEFONO_HABITACION, $this->telefono_habitacion);
		if ($this->isColumnModified(EstudiantePeer::TELEFONO_CELULAR)) $criteria->add(EstudiantePeer::TELEFONO_CELULAR, $this->telefono_celular);
		if ($this->isColumnModified(EstudiantePeer::TRANSPORTE)) $criteria->add(EstudiantePeer::TRANSPORTE, $this->transporte);
		if ($this->isColumnModified(EstudiantePeer::CF_CARRERA)) $criteria->add(EstudiantePeer::CF_CARRERA, $this->cf_carrera);
		if ($this->isColumnModified(EstudiantePeer::RESIDENCIADO)) $criteria->add(EstudiantePeer::RESIDENCIADO, $this->residenciado);
		if ($this->isColumnModified(EstudiantePeer::PERFIL)) $criteria->add(EstudiantePeer::PERFIL, $this->perfil);
		if ($this->isColumnModified(EstudiantePeer::INFORME)) $criteria->add(EstudiantePeer::INFORME, $this->informe);
		if ($this->isColumnModified(EstudiantePeer::WAGON)) $criteria->add(EstudiantePeer::WAGON, $this->wagon);
		if ($this->isColumnModified(EstudiantePeer::PARTE)) $criteria->add(EstudiantePeer::PARTE, $this->parte);
		if ($this->isColumnModified(EstudiantePeer::MODULO)) $criteria->add(EstudiantePeer::MODULO, $this->modulo);
		if ($this->isColumnModified(EstudiantePeer::EDAD)) $criteria->add(EstudiantePeer::EDAD, $this->edad);
		if ($this->isColumnModified(EstudiantePeer::ESTATUS)) $criteria->add(EstudiantePeer::ESTATUS, $this->estatus);

		return $criteria;
	}

	
	public function buildPkeyCriteria()
	{
		$criteria = new Criteria(EstudiantePeer::DATABASE_NAME);

		$criteria->add(EstudiantePeer::CP_ESTUDIANTE, $this->cp_estudiante);

		return $criteria;
	}

	
	public function getPrimaryKey()
	{
		return $this->getCpEstudiante();
	}

	
	public function setPrimaryKey($key)
	{
		$this->setCpEstudiante($key);
	}

	
	public function copyInto($copyObj, $deepCopy = false)
	{

		$copyObj->setCfEstratoSocial($this->cf_estrato_social);

		$copyObj->setCedula($this->cedula);

		$copyObj->setNombre($this->nombre);

		$copyObj->setApellido($this->apellido);

		$copyObj->setSexo($this->sexo);

		$copyObj->setEstadoCivil($this->estado_civil);

		$copyObj->setFechaNacimiento($this->fecha_nacimiento);

		$copyObj->setNacionalidad($this->nacionalidad);

		$copyObj->setTelefonoHabitacion($this->telefono_habitacion);

		$copyObj->setTelefonoCelular($this->telefono_celular);

		$copyObj->setTransporte($this->transporte);

		$copyObj->setCfCarrera($this->cf_carrera);

		$copyObj->setResidenciado($this->residenciado);

		$copyObj->setPerfil($this->perfil);

		$copyObj->setInforme($this->informe);

		$copyObj->setWagon($this->wagon);

		$copyObj->setParte($this->parte);

		$copyObj->setModulo($this->modulo);

		$copyObj->setEdad($this->edad);

		$copyObj->setEstatus($this->estatus);


		$copyObj->setNew(true);

		$copyObj->setCpEstudiante(NULL); 
	}

	
	public function copy($deepCopy = false)
	{
				$clazz = get_class($this);
		$copyObj = new $clazz();
		$this->copyInto($copyObj, $deepCopy);
		return $copyObj;
	}

	
	public function getPeer()
	{
		if (self::$peer === null) {
			self::$peer = new EstudiantePeer();
		}
		return self::$peer;
	}

} 